import React from 'react'
import {View,Text,Image,Navigator} from '@tarojs/components'

import AddressInfo from "./addressInfo";
import './index.scss'
export default function Address(){
  return  (
    <View className='address'>
      <AddressInfo />
      <View className='addto_address'>

        <Navigator url='/pages/address/newaddress/index' className='addto_address_bd'>
          <Image className='addto_address_img' src={require('../../static/images/weizhi.png')} />
          <Text style={{color: '#fff'}}>添加新地址</Text>
        </Navigator>
         <View className='addto_address_wx'>
           <Image className='addto_address_img' src={require('../../static/images/wx.png')} />
           <Text style={{color: '#fe960f'}}>导入微信地址</Text>
         </View>
      </View>
    </View>
  )
}
